{{ if .File }}
<a
    href="{{.Site.Params.ghrepo}}edit/main/website/site/content/{{ .File.Path }}"
    class="float-right edit-github"
    target="_blank"
>
    Edit on GitHub
</a>
{{ end }}
